package com.xiaomi.eco.dal.res;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.ToString;

import java.util.List;
import java.util.Map;

@lombok.Data
@ToString
public class EcoServiceRes {
    private String status;
    private ServiceData data;
    @lombok.Data
    @ToString
    public static class ServiceData {
        @JsonProperty("resultType")
        private String resultType;
        private ServiceResult[] result; //  result 是一个数组

        @lombok.Data
        @ToString
        public static class ServiceResult {
            private Metric metric;
            private double[] value;

            public static class Metric {
            }
        }
    }
}